import {request} from "../request.js"

export function getGroupByProductId(productId) {
	return request({
		url: "/api-sms/group/notAuth/getGroupByProductId",
		needAuth: false,
		data: {
			productId: productId
		}
	})
}

export function exchangeProd(code) {
	return request({
		url: "/api-sms/smsproductexchange/exchange",
		data: {
			code: code
		}
	})
}